home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / un / fundec.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  521 b   |  20 lines

  1. #include "icmun.h"
  2.  
  3. void fun_dec ()
  4. {
  5.     INT16
  6.         index;
  7.  
  8.     index = getint16 (infile);
  9.     dumpint (index);
  10.     if ((UNS16)index < 0x8000)
  11.         printf ("dec global %s %s\n", varname (var [index].type),
  12.                                     printvar (index));
  13.     else if (index < (INT16) 0xc000)
  14.         printf ("dec local %s %s\n",
  15.                    varname (local_types[ (INT16) 0xc000 - (INT16) 1 - index]),
  16.                    printvar (index));
  17.     else
  18.         printf ("dec arg %s\n", printvar (index));
  19. }
  20.